package TextEditor;

import java.awt.datatransfer.UnsupportedFlavorException;
import junit.framework.Test;
import junit.framework.TestSuite;

import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;


@RunWith(Suite.class)
@SuiteClasses({ TestEditorFunctions.class })
public class AllTests {
	public static Test suite() throws UnsupportedFlavorException, Exception {
        TestSuite suite = new TestSuite("Test suite") ;

        TestEditorFunctions te = new TestEditorFunctions();
        te.testIsNewFile();
        te.testCreateMenu();
        te.testSetNewFile();
        te.testSetCurrentFile();
        te.testSetModified();
        te.testCopyOperation();
        te.testAdditiveCopyOperation();
        
        return suite;
    }
}
